
// MainFrm.h : interface of the CMainFrame class
//

#pragma once
#include "IconToolBar.h"


class CMainFrame : public CFrameWnd
{
	
protected: // create from serialization only
	CMainFrame();
	DECLARE_DYNCREATE(CMainFrame)

// Attributes
public:

// Operations
public:

// Overrides
public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);

// Implementation
public:
	virtual ~CMainFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	virtual void GetMessageString(UINT nID, CString& rMessage) const;

protected:  // control bar embedded members
	CIconToolBar	m_wndToolBar;
	CReBar			m_wndReBar;
	CDialogBar		m_wndDlgBar;
	CStatusBar		m_wndStatusBar;
	CStringArray	m_csaHelpLinkURL;

// Generated message map functions
protected:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnClose();

	DECLARE_MESSAGE_MAP()

private:
	void OnHelpLink(UINT nID);

public:
	BOOL SetStatus( INT nIndicator, LPCTSTR lpszNewText );
};


